She is also obligated to protect herself, so she can take care of her children.
The Church allows for temporary separation to give the offender time to correct himself/herself.
The Church also allows for permanent separation if the offender does not correct himself/herself, or if the abuse continues.
This.
Annulment is NOT a code-word for divorce.
There are NO circuмstances which justify the dissolution of a valid marriage, once it is created. Annulment means "it never happened" -- it was invalid for some reason. So if the husband was going under a fake identity, threats/coercion were involved (one of the parties didn't enter into the marriage of their own free will), or other rare situations.
Generally, the marriage preparation (whatever group you're with) will close all those doors, one by one. OOPS!
The priest will tell you the nature of marriage (exclusive, indissoluble, for the begetting of children, etc.) so you can't claim ignorance later.
Blindness ("Love is blind"), imprudence, stupidity are NOT excuses for dissolving a valid marriage later. A failed marriage, a bad marriage, is still a marriage.
As others said, if physical safety is an issue (for the spouse and/or children involved) then YES you must get a "separation of bed and board" until the spouse amends. This same "separation of bed and board" is an option for the victimized spouse, when one spouse commits adultery. You don't have to "take him back" or "take her back" -- but you can't get divorced and remarried. Sorry.
YOU CAN'T EVER GET DIVORCED, MUCH LESS REMARRIED once you enter into a valid marriage. Many souls go to hell from sins of the flesh, and Our Lady wasn't just talking about "solitary vice" or sins of the eyes. She certainly was also referring to the many "irregular living situations" caused by false divorce/remarriage. Think of how hard that sin is to extricate yourself from, compared to ALL OTHER SINS. You could be free of all sins, but find it virtually impossible to separate from your concubine and get right with God. I know of such cases IRL.
There is an excellent chapter in the book, "The Sinner's Return to God" (TAN Books) that tells of such a story. A man was on his DEATHBED and was ready to part with all his sins -- except to reject his concubine and confess THAT sin. The priest entreated him earnestly, pointing out that he must needs part with her soon anyhow, so why not part with her freely and save his soul? But the man refused. With his dying breath he embraced and kissed his concubine -- and went straight to hell. All the other sins? Defeated. What sin cost this man his eternal soul? An Irregular living situation -- an irregular marriage. Sixth and Ninth claimed yet another victim.
If I could have a promise from God that this or that child of mine could be guaranteed free of ONE type of sin for their whole lives -- without even thinking I'd say "Sixth Commandment".