Have you ever been married to the wrong person?

Is it possible to have a baby and be married to the wrong person?