To give another deviant a direct link to this FAQ answer, use the following code in your comment or forum post:
How do I change my online status to Away or Invisible?
At the moment, you can only choose to set your status to Invisible, you can do this by going to the User Page section of your Profile page, and clicking the checkbox next to "Hide online status."
You are set to Idle after 5 minutes of idle time, and the Last Visited (time) pops up after fifteen minutes of idle time.