Without exeption, all the carriers operating in or to/from the USA have a method of leaving miles in your will. Unfortunately, these policies/rules are not standardized and you will have to follow the instructions of each one individualy.
The same is not true of American Express Membership Reward points nor of some Bank travel points where the Bank buys a paid ticket for you.