This is very important. Now that she has been arrested, you need to find out who specifically is prosecuting the case (district attorney, city attorney, county prosecutor) and talk to the specific prosecutor assigned to the case. Make sure they know that you want a "stay away order" as well as a "do not harass, annoy, molest, stalk, etc. " order as part of the plea bargain or the sentence if there is a conviction.
If she gets probation then that kind of order is good for the duration of probation, or if she gets jail or prison with no probation the order is good for five years in most jurisdictions. Any violation of the order is a new crime, meaning you can get the police out there immediately and have her rearrested if she does anything else.
Talk to your lawyer about the particulars, and how criminal protective orders work in your jurisdiction. Protect yourself and be well.