According to soccer rules, a goalkeeper cannot hold the ball for more than six seconds while controlling it with their hands in their penalty area. If they exceed this limit, the opposing team will receive an indirect free kick from the spot where the goalie committed the violation. This is to maintain fair and fluid gameplay.