Box is new-ish jargon for the defending team's penalty area on a football (or soccer, if you like) field. To be inside the box means being positioned inside, or in the immediate vicinity of the marked 18 x 44 yard (16.5m x 40.32m) rectangle in front of your own goal.
Commentators and fans alike will often refer to the area in front of any goal as the box.