After my grandmother died, my aunt relayed to me that the night before, she had started calling for my grandfather, acting like he was around, despite having died a good thirty years before her. This article mentioned the comforting effect of such visions. I have to assume the body knows before the conscious mind does.