In general, the signatures of both parties are not required in a divorce. If proper procedures are followed, one spouse may obtain final divorce documents.
As to why you were not allowed to be in court for your own divorce, since no one here knows the details of your case, no one can offer an opinion as to what happened in your particular case.
In one scenario, I suppose if a party is disruptive enough, the court may remove that party from the court room.
You may want to review your facts and options with a local attorney. Often, there is only a few days to ask the court to re-consider decisions in a divorce case.
Sign up to receive a 10-part series of useful information and legal advice about the divorce process.