would be like a basketball player walking behind the basket and taking a drink when the other team inbounds the ball. Then running up behind the other player and stealing it. Who knows. Clearly the goalie should never do what he did, but then again players have to remain on the field or court. The thing about soccer is that the time is always running, I'm assuming there was no whistle before this and no whistle to start it. So the player left the pitch during play.