It depends on what your life insurance plan says.
Some life insurance plans only cover the funeral expenses and others cover both the funeral expenses and unpaid bills.
It also depends on how much coverage your life insurance plan will cover you for.