The New Testament gives very specific details and revelation from God on the afterlife. Did Old Testament believers have any such notions? There are some indications, though not so many.
Job 19:25-27 For I know that my Redeemer lives, and that He shall stand at the latter day upon the earth: 26 And though after my skin worms destroy this body, yet in my flesh shall I see God: 27 Whom I shall see for myself, and mine eyes shall behold, and not another; though my reins [heart] be consumed within me.
Job had the assurance that although he was going to die and be eaten by worms, he would receive a new body (“in my flesh”) and in that body he would see God face to face, i.e. in his conscious mind.