Leaving the White House doesn't prevent you from being investigated and convicted for crimes committed during your employment there -- look at the Watergate mess. Of course, the Pres can pardon you later.
"I, George W. Bush, President of the United States of America, hereby pardon George W. Bush...."