Deductions & credits

Did the spouse use it as a primary residence for the last two out of five years leading up to the closing (i.e., does the spouse also qualify for the exclusion)?

 

See https://www.irs.gov/publications/p523#en_US_2023_publink10008938