I bought and lived in my old home with my ex-wife from January 2017 until June 2021, when we moved to a new home. The old home was rented out to tenants until March 2024, when my ex and I decided to separate. I moved back to the old home, while she stayed in the new home. Now (October 2024) we are about to start getting divorced.
Due to COVID and location (Austin, TX) the home price almost doubled since we bought the home in 2017. If I understand the rules correctly, capital gains tax applies to the profit on the home value only if the owner has not lived in the home for at least 2 out of the last 5 years from the date of the sale. I intend to be in the home until March 2025.
So my question is: would I need to pay capital gains tax on the sale of this home? One of us lives in the home, but the other doesn't. We have an amicable relationship so we could potentially make the home 'mine' in the divorce and settle the finances after the sale. I am unsure if there is a hard requirement for both of us to live in the home.