That question is metaphysical and beyond my understanding. As a mortal man, I cannot comprehend the process by which any human person may transition from this life to the next.
I think you know that I'm not talking about that. By what merrit does Moses earn Heaven? By his righteousness? By his works? By being born again? Or by something else?