That is not the way the legal system works. The word
divorce simply means the ending of the marriage in a legal sense. Sorting out other issues connected to that are dealt with separately in a legal sense and may involve court proceedings if the parties cannot agree on arrangements between themselves.