I am so sorry for your loss and for the situation. The general rule here is that if your spouse passes away after you file for divorce but before the dissolution is final then under the law you are still entitled to inherit via last Will and testament of intestacy statute. Here it really depends on what happened on the 18th and what you mean by "[T]he divorce will not be final for 90 days." That may be due to something procedural that is specific to the state of Massachusetts or it may be due to something else that is specific to your divorce. So I would call your attorney as soon as you can and ask. You may also have to officially withdraw the divorce proceeding from the court if that is possible at this stage. It really all depends on the present status and your attorney would know best. Good luck.
IMPORTANT NOTICE: The Answer(s) provided above are for general information only. The attorney providing the answer was not serving as the attorney for the person submitting the question or in any attorney-client relationship with such person. Laws may vary from state to state, and sometimes change. Tiny variations in the facts, or a fact not set forth in a question, often can change a legal outcome or an attorney's conclusion. Although AttorneyPages.com has verified the attorney was admitted to practice law in at least one jurisdiction, he or she may not be authorized to practice law in the jurisdiction referred to in the question, nor is he or she necessarily experienced in the area of the law involved. Unlike the information in the Answer(s) above, upon which you should NOT rely, for personal advice you can rely upon we suggest you go to AttorneyPages.com and retain an attorney to represent you.