Death has nothing to do with going away.
The sun sets
The moon sets
But they are not gone.
To pray is to pay attention to something or someone other than oneself. Whenever we so concentrate our attention that we completely forget our own ego and desires, we are praying.