I think estate planning and inheritance all could have been done before (you can leave your money/assets to whoever). This just ensures your spouse gets it even if you don't have a will.
From what I understand, in some cases where the couple didn't do any estate planning the deceased partner's family could seize the deceased partner's property out of spite, sometimes leaving the surviving partner homeless or destitute.