Well, the other two had cash in their envelopes and the attorney had a personal check, which would be no use to the guy in the afterlife.
So it most probably was payment for his services or something to that extent. In the joke you wrote the guy said"I'm giving each of you an envelope with...