What you need to know about taxation before leaving your job