stopping being married to someone requires custody agreements