Old English heræfter (adv.) "in the future; later on;" see here + after. Meaning "after death" is mid-14c. As a noun, "time in the future," from 1540s. Meaning "a future world, the world to come" is from 1702.[hereafter etymology, hereafter origin, 英语词源]