If he was in the D, it gives him an unfair advantage over the defending side, who might otherwise have been able to reach the sideways tap (or any rebound, under other circumstances) before him. That's the reason for the 10 yard rule for everyone other than the penalty taker (and the goalkeeper...