Credits and deductions

In the circumstances you describe, the only party that had a "sale" of his/her principal residence is your spouse and not you.