1 Ownership: You must have owned the home you are selling for at least two years during the five years prior to the sale. 2  Use: You must have used the home as your principal residence for at least two of the five years prior to the date of sale.