A judge will determine the length of spousal support as well as the amount owed and other important logistics.