Stalking is a crime. Spousal abuse is a crime. 
Your friend could pursue his behavior in criminal court. Certainly a restraining or no-contact order would benefit her and could land him in jail.
Divorce, visitation etc are family court matters.