Homemakers are vulnerable in divorce. They may have trouble getting paid employment after years outside the labor market. Alimony and other mechanisms are essential to protect them in case of divorce.
When I was divorced, the apt. manager said, "Since you don't work, we need to know you can pay your rent." I showed my divorce settlement that granted me alimony for 25 years, they made a photocopy and we were OK after that.