@Chika it sure is sister!!
I believe it all comes down to the foundation you have given the children. If you had a partner who was never “present”, then it probably won’t matter. If both parents were active and “present” for the children, they can work on healthy coping techniques to assist those children to navigate their emotions, etc.
Personally I feel it has to be considered. But shouldn't be a reason to remain in a toxic space. But is an emotionally deprived relationship toxic?