That depends on how late you are. Most homes can be sold up until the day the house is foreclosed upon. Banks do not want to be landlords. They would much rather have you sell the house than go through foreclosure proceedings.
References
Courtesy of HomeOwners Advantage and link that to their entry in the wiki which is at HomeOwners Advantage