I have a client who put his home(main residence) up for sale in 2014. The house sat on the market, unsold, until 2019 when a sale was transacted. During 2014 my client bought another residence and has used this residence as him primary residence. My client is married. Is he entitled to the $500,000 exclusion of capital gains on the sale of his original home.