The answer is that this spousal obligation continued after death or divorce. On marriage a wife obtained a dower right to the use, for her natural life, of one-third of the husband's property after his death, regardless of any will to the contrary. She retained that right even if he sold the property before he died, unless she specifically relinquished it.
Eleanor of Aquitaine was queen consort of France and England and duchess of Aquitaine in her own right. As a member of the Ramnulfids rulers in southwestern France, she was one of the wealthiest and most powerful women in western Europe during the High Middle Ages.