You have to file a restraining order against your spouse to protect yourself before, during, and after your divorce. Each state determines the type of assistance you can get. There are many domestic abuse resources and programs available in states that you can benefit from.
You can also get a support system for help all through and after the divorce process. Victims of abuse are more prone to danger after they are separated from their abuser should they have a clear action in place before you separate from your abuser.
Have somewhere to visit, and some way to help yourself and someone to contact if you feel in danger. You and your children will feel better and supported when you have a plan, a restraining order, as well as family and friends, to be with you before and after separating from your abuser.