In the area with which I'm familiar it's a zoning/planning requirement to dedicate some proportion of lot area to yard. I forget the details -- it's been a while since I dug into this. I think that's also why mother in law units became popular in some jurisdictions: a workaround for yard area requirements since it piggy backs on the existing home yard arrangement.