Can separated couple sell two houses in one year?

Length of occupancy in principal residence a key determinant