After the filing of a complaint for divorce or to annul a marriage, on the petition of either party the court may prohibit the other party from imposing any restraint upon the petitioner’s personal liberty during the pendency of the action.
W.S. 20-2-110