Retirement tax questions

In other words, you can't have owned the home you lived in for at least 2 years up to the closing date of the home you bought.  You could own another house and rent it out, but you can't have owned the home you lived in.