Two parents in a stable relationship are better than one.
But I know a number of single parents (all women) who have done a really good job under difficult circumstances bringing up children.
There are no rules, (but I do think that two parents are better than one, for all sorts of reasons).