You have to first file a petition in the court. This is written by the person who wants to get the divorce or is called the petitioner. This person or petitioner then files with the state court where the person resides or lives. There is a fee involved in this step.
You will be assigned an index number that the judge has regarding your case. This index number will be used to identify your particular case, during all proceedings and correspondence.