Investors & landlords

You can only have one primary residence at a time.  When you sell, you need to have lived in that residence for at least two of the preceding five years.  You could accomplish that by living in each home as your primary residence for two of the last five years.