the victim has a lot of input with the court and prosecutors regarding sentencing. Depending on prior record, it can be done. No, a court will not force a divorce upon unwilling parties.
Husband needs an attorney. If husband was charged with a crime involving domestic violence such as assault, there are ways that an attorney can assert defenses and if necessary, assist with mitigation. If wife has obtained a Protective Order for domestic violence, this is a civil proceeding and does not carry jail time although husband can be charged with a crime if he violates the no contact order or other conditions of the Order.
The prosecutor decides whether to go forward with the criminal case and the Judge decides the sentence if husband is convicted. These matters are taken seriously so husband needs an attorney to protect his rights and his future.
Only a spouse (not the judge) can file for divorce.