 Okay, so great question. The president of the United States can be prosecuted after he leaves office for things that he did that were criminal while in office and of a personal nature. They weren't related to his duties as president. Impeachment is for you can, while in office, remove the president for having broken the law.