Yes, there is mortgage insurance that will help you pay off the oputstanding balance on your home mortgage loan in case your spouse dies before the loan is fully repaid.
Many hoemowners purchase mortgage term life insurance for just this purpose. By selecting a term equal to the duration of your mortgage loan you will have life insurance in place the entire time you owe on your mortgage.
And, by selecting an amount of mortgage life insurance equal to your mortgage loan amount, you will have enough protection to make sure you can stay in your home should your sposue die unexpectedly.
Here's how to learn more about mortgage insurance for death of a spouse.