Unless you are in a very small town, it isn't usually that simple. There are usually different residential zoning districts with different allowed uses. The different districts usually take into account the size of the lots in the district, perhaps historical uses and proximity to other...