It isn't a setting. You are active whenever you log into or do anything in the Combine. You are considered "active" for a period of seven days after engaging in either of these actions. So essentially, playing the game is being active and there is a period of seven days of not doing anything before the server classifies you as inactive.
"Civilized men sleep soundly because rough men stand ready to do violence on their behalf..."