Which two stages are distinguished in Ghafir 40:46?

Recording Angels, the Angel of Death, and Questioning and Punishment in the Grave