Your equity in your home is most likely protected, but if you have a mortgage on your house you would need to negotiate with the bank to reaffirm the mortgage.
You can include the house mortgage in the bankruptcy filing. If you are on a payment plan in bankruptcy, then the house mortgage can be included in that payment plan, letting you continue to stay there. If the bankruptcy is a total liquidation of all assets, you will lose it.
There is a way you can keep your home. When you file bankruptcy you are going to have to sell off some of your more expensive belongings. If you file chapter 13 you are able to restructure your debt and may be able to keep your home.