a separation occurs when a court formally ends up a marriage