If you and your spouse agree on the terms of the divorce and filed the Joint Petition for Summary Dissolution of a Marriage, then you will probably need to attend a court hearing so that the judge may issue the final divorce decree. If you have minor children but still have an uncontested divorce you may file a Joint Petition for Dissolution of a Marriage, after which the judge may schedule a short hearing to discuss details of child custody before issuing the final decree.
Tera is one of the founding members and the managing partner at Minnesota Divorce and Family Mediation. She has over 15 years of combined education, training, and professional experience in facilitation, team building, negotiating, and mediating resolutions of all matters. She uses a strengths-based, client-driven approach to develop thorough parenting plans for children tailored to their unique circumstances and future needs. She has experience with complicated parenting issues, children with special needs, mental health issues, domestic partnerships, and other non-traditional relationships. Tera's goal is to develop a comprehensive divorce agreement while minimizing stress and cost.
On a related note, it is a useful precaution to close or otherwise terminate additional borrowing authority on any joint credit cards, lines of credit, or other joint debt accounts, when a divorce appears imminent. With respect to joint credit cards and other joint unsecured consumer lines of credit, Minnesota law requires the creditor to close the account upon the written request of either party. 
The length of time to complete a divorce depends upon several things. If both sides reach an agreement or if one spouse never responds to divorce papers, a divorce doesn't take much time. If both sides can't agree, then the judge has to decide. In this case it will take much longer because the court will need to gather information and schedule time in order to make a fair decision. Gathering information might mean having a custody evaluation done or getting financial information.
A custody determination basically comes down to figuring out how the children’s time will be divided between the parents, and how decisions will be made. If you and your spouse can reach an agreement, it will be accepted by the judge unless it is not to be in the child’s best interest. If you cannot reach a custody agreement, Minnesota child custody law provides for the judge to decide the issue, after considering the following factors:
If a parent has been convicted of certain crimes, that parent must convince the court that parenting time with the child is in the child's best interest. These crimes include assault, sexual abuse, parental kidnapping, terroristic threats, felony harassment, domestic assault by strangulation, and stalking. Ask your lawyer if these laws apply in your case.
In the mediation process, your mediator will provide you with much of the information and legal background that you need to discuss your issues. At times though, because the mediator must remain neutral, they cannot give either party advice specific to their best interests because that would be against the interests of the other party. Here, a consulting attorney, that is accessed on a limited, as-needed basis, can provide that specific legal advice to help a party decide how to best move forward in the negotiations.
If you were served with a "Summons and Petition" (you are the Respondent), you should talk to an attorney before you sign the "Answer and Counterpetition," and before you sign a "Stipulated Findings of Fact, Conclusions of Law, Order for Judgment and Judgment and Decree" (which is an agreement with your spouse on how to divide all assets and debts).