Consider this before you resign and withdraw money from your pension fund