Should parents work things out for child

Do you believe parents should give their relationship another chance for their child?

Long story short. Me and my ex planned our pregnancy. He later decided maybe we rushed things. Our relationship was always good. We never fight and hardly disagree in 3 years. I spent a lot of my life single & he spent a lot of his life in relationships (back to back, years long). So he’s never really had time to be alone and recently has taken steps to do so for his own healing and mental health. I don’t doubt he loves me and he’s so supportive with the pregnancy.

If the opportunity arises, Should we try again? Obviously kids won’t change certain things or help certain things but I always believed parents should give their family one fighting chance before deciding the co parent separately.

Thoughts?