Yes if you mean”currently elected” literally, because judges and cabinet members are not elected but can be impeached. But impeachment isn’t a criminal proceeding, it’s a process for removing someone from office, so you have to be currently holding your office to be impeached and therefore Obama cannot be impeached.