The testator may name in his will as executor or trustee any person or persons who are residents and citizens of the United States, or any bank or trust company organized under the laws of this state or of the United States and doing business in this state. When it appears to the court having jurisdiction that any individual named as an executor or trustee in any will is not a resident of this state or that any bank or trust company named as executor or trustee is not authorized to do business in this state, the court shall require the executor or trustee to designate a resident, bank or trust company of this state as agent or attorney upon whom any order, notice or process issued out of the courts of this state may be served. Service on the agent or attorney has the same effect as if served upon the nonresident executor or trustee in person. If any nonresident executor or trustee fails to appoint an agent or attorney, the court shall revoke his authority to act. When the person named as executor is also the sole legatee, instead of the bond required by other provisions herein of an executor, he may give a bond to the state in a sum and with sureties the court requires, conditioned only to pay within the time fixed by the court all the debts of the testator which are filed or exhibited within the time fixed by the notice to creditors. He shall return an inventory and appraisement as in other cases. Upon execution and approval of the bond, the filing of the inventory and appraisement and the publication of notice to creditors, the estate of the testator vests absolutely in the sole legatee and the debts of the testator so filed or exhibited become charges against the legatee. Upon breach of the condition of the bond, suit may be instituted on the bond by any creditor in the name of the state for the use of the creditor. The provisions hereof apply to all wills hereafter admitted to probate.
W.S. 2-11-301