The Laws of the Game do not dictate where a player can or cannot be on the field during normal play, there are restrictions during some restarts.
Chat with our AI personalities
Yes, they can go anywhere on the pitch. As long as they only handle the ball in their own 18 yard box.
A goal keeper may play anywhere on the field, just like any other player. They may only use their hands to control the ball when the ball is within their own penalty area.