Your home will not be counted against you for Medicaid qualifications. However, the state can put a lien on your house at your death to recovery the amount they have spent on your care under medicaid. If you sell your house the proceeds can disqualify you from receiving Medicaid .
This can be a very technical area. You need to get good advice before you do anything.