The phrase is usually a humorous way of saying that one was not sitting idly, but engaged constructively in contemplation or letting one's mind wander.
However, as individuals and enterprises engaged in computer crime have become more skilled and sophisticated, they erode the effectiveness of established perimeter-based security controls.