how long do you have to own a house before selling