I can add a lot of info to this.
I have a single dubia female in a large 20 gallon tank with a natural setup. 2 male dubia share the tank with her but leave her alone.
When she first gave birth the first week the babies all stayed right by her hiding under a fake log and they ate her poo and the afterbirth. They did not leave her side, and she did not leave them, even though they had 20 gallons to roam around in! Anytime a male came by the female would charge and nip at them and the males would leave her alone.
Once every 2 weeks I would take all my roaches out to see how the nymphs were doing, they were doing great. I put all the roaches back in the tank, and the female went back in the exact spot under the same decoration, and her babies, being smaller than my pinkie nail, all managed to find there way back to her and stay by her! As they got older they would drag food under the fake log and I guess she ate with them too. I heard once a month female dubias give birth, but after almost 4 months she is not "pregnant" looking and hasnt given birth, almost as if she is still caring for her babies and will not give birth until they grow up.
At around molt 4, 2nd to last nymph stage, most of the nymphs one day all left her side, and now all hang out together in the same spot, kind of like teenagers, too young to be alone, but old enough they dont need to be with mom all the time. It really is fascinating.
I'm curious when they are mature if any males will try to court their mom or siblings, I dont doubt they recognize their Mom.