From what I've read, bees will travel 2.5 to 3 miles for food, so in a city setting I would think the bigger issue is neighbors and city ordinances. If you have a large enough lot to place and position the hive(s) in such a way as to not be a problem to neighbors, etc then its a grand plan.