Do Those Who Die Before Knowing Right from Wrong Automatically Qualify for Resurrection?

The morally innocent, including children, will be resurrected, given opportunities to learn righteousness, and face final judgment.