Yes. Protection from domestic violence is not legally dependent on first ending the marriage. Domestic-violence legislation provides its own complaint and protective framework.
Divorce, criminal proceedings, protection measures and property claims can involve different legal routes even when they arise from the same family situation.