TomD8
Level 15

Deductions & credits

And to clarify, that's 2 years out of the 5 years leading up to the date of sale (the closing date).  So just make sure your closing date (which is usually negotiable) is beyond the 2-year period.
**Answers are correct to the best of my ability but do not constitute tax or legal advice.