The President can't be charged with a crime? Is this a technical point? He first gets impeached, and then an ex-President gets charged with a crime?

Can Trump be charged for an alleged crime committed while in office? I would hope so.