Assuming that your former spouse agrees to what you have written about concerning retirement benefit issues, you can have a stipulation and order prepared by an attorney drawn up, signed and submitted to the court for filing and signature which will resolve what you have written about.If the "ex" will not sign what you desire, then you need to consult with a family law attorney to see what your legal options are.