230.70(A)(1) requires the service disconnecting means to be either outside or inside the building nearest the point of entrance. And, 225.32 requires a disconnecting means for a remote building to be inside or outside, nearest the point of entrance of the conductors.
There are no numbers given, and it is up to the authority having jurisdiction to determine just how far away from the point of entrance constitutes "nearest".