If you really want to get technical about it, in the vast majority of legal jurisdictions it is not possible to sell a house in isolation. You sell the land that the house is sitting on, and the house just comes along for the ride as an "improvement". So whatever legal abstraction you could sell before you tore the house down you can also sell after.