you gotta have the paperwork filed and then serve them the papers. if you have any shared items obtained during the marriage you have to list them. if you have children together then you typically have to establish custody and parenting plans before you can have your divorce granted
varies by state and circumstances.