I live in my primary Home 21 years then purchase a new property and didn’t move right away cause it needed it some repairs so I am back-and-forth from my primary residence to the new property which I am looking to move in permanent as a primary residence,finally, I moved in on October 2023 to the new Home and also I was doing some fixing on the Primary resident to sell it. Finally, I sold the primary residence in October 2025 . Do I still qualify of primary home residence rule of 2-5 on the IRS code. Thanks