You need to speak with an Elder Law Attorney in your local area. Medicaid is very complex, and mistakes in planning can be very expensive. Make sure that the lawyer is a member of the National Academy of Elder Law Attorneys.
Medicaid varies some from state to state. I beleive all states allow the community spouse (you) to retain the home. It is possible he could deed you his interest in the home without penalty from Medicaid. You should meet with an attorney who is familiar with Medicaid applications in your area.