The resurrection of the righteous will occur before the millennium at the Lord's coming back (1 Cor. 15:23; 1 Thes. 4:16). This will be the resurrection of life (John 5:28-29a and notes; Dan. 12:2a) and the resurrection of reward (Luke 14:14), which includes the first, or the best, resurrection (Rev. 20:4-6 and note Rev. 20:52b and note Rev. 20:62) the out-resurrection (Phil. 3:11 and note Phil. 3:112a). The resurrection of the unrighteous will occur after the millennium (Rev. 20:5). This will be the resurrection of judgment (John 5:29b and notes) and of shame and everlasting contempt (Dan. 12:2b), and will be for the judgment of eternal perdition upon the unrighteous (Rev. 20:12-15 and note Rev. 20:121). It was concerning this judgment that the apostle warned the unrighteous Felix in v. 25 (see note Acts 24:252a).