Yes, but there were green spaces in some urban areas before that. For example Harvard Yard originally (and technically still does) let professors graze cows there, for about the past 300 years or so, and Boston Common has been a park since 1634. I’d guess (based on nothing) it might be more likely that urban green spaces mostly disappeared with industrialization, then reappeared in the form of public parks.