Generally, Dish wants all receivers under the same roof. They do realize some people want service in detached garages or guest houses and this is usually ok.
As far as the two houses side by side, if one (or both) is a rental and they are sharing one account, this is considered account stacking and definitely a no-no.