If you are asking if one spouse can exclude the gain from their house, and the other spouse exclude the gain from their house, yes, each can do that on a Joint return. It is hypothetically possible the IRS would question it, but it is allowable.
You have clicked a link to a site outside of the Intuit Accountants Community. By clicking "Continue", you will leave the community and be taken to that site instead.