More than one dwelling, institutional, commercial, or industrial building may be located upon a lot in a zoning district where such a use would be permitted, but no such building shall encroach upon the front, side, or rear yards required for any other building site. For dwellings the open space between buildings shall not be less than 20 feet for one-story buildings, 30 feet when either building is a two-story building and 40 feet when either building is a three-story building, and 40 feet plus and additional 10 feet for each story over three stories when either building is over three stories in height. The minimum dimension for the yard upon which any entrance or exit of a dwelling faces shall be 20 feet, and such space shall not be counted as a yard for any other building.