If you know that you will be accepted for this job position then yes, you should better inform him about your decision in advance to let him find a suitable person to occupy your place. I notified my boss about my leave and explained that new job opportunities that paper writing service offers appeal to me more. He was grateful for this notice.