Resurrection is a gift of grace, a blessing to all mortals through the Atonement. There are no contingency clauses, not even the requirement of righteousness. Indeed, all will be raised from the dead, the noble and the nefarious alike. From the most righteous to the most wicked, all will live again.