Yes, Foreclosure can occur. This is the legal means that your lender can use to repossess your home. When this happens, you are required to 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.
Both foreclosures and deficiency judgments can affect your ability to qualify for credit in the future. So you should avoid foreclosure if possible.