'Family' and 'Apartment' are words that don't go very well together. Children/large families can be noisy. And they benefit from safe outdoor space to play. For the childless WFH-er trying to concentrate, it's not much fun when kids noisily use the communal areas of apartment buildings as a playground. I know this from experience. Thankfully, noise-cancelling headphones are pretty good these days.
I don’t know where you’re coming from as for safety. A single family home doesn’t imply safety and an apartment building can have both indoor and outdoor play areas.