It is the Order signed by a Judge which finalizes a divorce (e.g. you are now officially divorced).
Steps will be determined by the law of the state in which you reside.
Generally there is filing of the Divorce. An Answer filed. A property settlement agreement being signed and custody agreement being signed. If agreements cannot be reached a court will decide on the division of assets and a Master then Court will determine custody issues. When all is said and done a Divorce Decree is entered making the divorce offical and final.
While incarcerated, the jail has a legal responsibility to protect all inmates. You would need to consult an attorney to find out if the jail acted responsibly, appropriately and within a due time frame in response to the attack. What I am referring to, as a scenario, would be as follows:
You are sitting on the block, watching TV with the other inmates. Two guys start to fight over a card game, start rolling around on the floor and you get caught in the middle. The Correctional Officer hits the man down and waits for backup ( standard procedure,,,you never go in alone,,,wait for the backup). In the 30 seconds that pass waiting for other Officers to show up, you get shoved and crack you skull open on the concrete floor, causing severe damage and a hospital trip.
I am NOT a lawyer, but work in this field. Given this type of scenario, most authorities would view this as having acted well within proper time frames and reacted accordingly. In that case, the jail would not be held liable.
Also, remember that right or wrong is not an issue in a civil court case. It is all a matter of who presents the best argument. Discuss this with a competent attorney and take it from there.
Best of luck to you and I hope this helps.