I left the family home following an affair by my ex. Within a week they had moved in the affair partner. This means that I have been renting a flat for over a year. When the family home is sold and I get half the equity will I have to pay capital gains tax on my share of the equity as I not been resident there for what could be 2 years by the time the house is sold?