Yes, she does. The foaling has to take place in an Equestrian Center.
If the mare foals outside one, you lose the foal and take a one karma point penalty. So always confirm the mare is in an EC before the due date rather than assuming the game will handle it for you.