 The property must have been your primary residence for at least two out of the last five years. It can't be a place you never lived in, like an investment property. You have to have lived there, as I said, two years out of the past five. They don't have to be consecutive years, just any two.