Can I keep my home in bankruptcy?

Yes, homestead (primary residence) is protected in both Chapter 13 and Chapter 7 bankruptcy. Therefore, you may not have to lose your home as a condition of the bankruptcy.