I am guessing you are referring to 230.70(A)(1). Jurisdictions vary on this requirement.
(1) Readily Accessible Location. The service disconnecting
means shall be installed at a readily accessible location
either outside of a building or structure or inside nearest the
point of entrance of the service conductors.