Any replacement will never be confirmed before Jan 20 so...yes, please resign (and let Trump appoint your replacement).