There is no direct way to remove your ex-spouse’s information from your return if you have imported this information.
To remove your ex-spouse's occupation:
When you print preview your return, the ex-spouse’s occupation information will now be gone.