As I tell clients, any fool with the filing fee can FILE a case. What happens later depends.
The starting point is figuring out what the home is worth and what you owe on it. Bankruptcy is not interested in what you own, but rather what is the equity in what you own.
Where are you and what homestead is available to a single person in your state?
Until your lawyer has these facts, (s)he can't give you any meaningful advice.