It depends on your income. Medicaid calculates what you need as monthly income based on a fixed formula (not necessarily what you really need). To the extent your own income is less than the amount they determine, you may keep your husband’s income to make up the difference. The balance of his income, less a small personal needs allowance, must be paid to the facility. If your own income exceeds the allowance set by Medicaid you do not need to pay the difference to the nursing home; you can keep all of your income no matter how high.
Read more about Medicaid's income protections for the healthy spouse.
For more on how Medicaid treats income, read this article.