When foreclosure happens, you must move out of your house.
If your property is worth less than the total amount you owe on your mortgage loan, a deficiency judgment could be pursued.
If that happens, you not only lose your home, you also would owe the difference to the lender. in other words, you have no money, no house, and you still have to pay the bank.
Avoid foreclosure if possible, it will hurt your credit big time!
Both foreclosures and deficiency judgments could seriously affect your ability to qualify for credit in the future.