Thanks for the chance to assist
Unfortunately, if the commander believes it is in the best interests of the soldier
and the Army, he can keep a no contact order in place.
After your divorce is final, your friend can again ask to lift the order, but in the end its up to the commander. If the commander will not lift the order, your friend can consider an Art 138 complaint
Article 138 is one of the most powerful rights under the Uniform Code of Military Justice (UCMJ), but it is one of the rights least known and least used by military personnel. Under Article 138 of the UCMJ, "any member of the armed forces
who believes himself (or herself) wronged by his (or her) commanding officer
" may request redress. If such redress is refused, a complaint may be made and a superior officer
must "examine into the complaint."
Article 138 of the Uniform Code of Military Justice (UCMJ) gives every member of the Armed Forces the right to complain that he or she was wronged by his or her commanding officer. The right even extends to those subject to the UCMJ on inactive duty for training.
Matters appropriate to address under Article 138 include discretionary acts or omissions by a commander that adversely affect the member personally and are:
In violation of law or regulation
Beyond the legitimate authority of that commander
Arbitrary, capricious, or an abuse of discretion, or
Clearly unfair (e.g., selective application of standards).
More info here
Please let me know if you have further questions; if so I will do my best to answer them. If not please hit the accept button, its the only way I get credit for my work.