The main idea behind spacing yards is to limit the amount of competition for the same resources. Also, it avoids disease transmission across your apiaries. The distance is based on typical foraging range which can be as much as three miles but is usually much less.