In Rev 20 v 4-5 those martyred came to life and reigned with Christ. This is described as the first resurrection and they were holy and blessed because they were part of the spiritual resurrection. The second or physical resurrection doesn’t occur until the end of Christ’s reign, when all mankind will be physically raised from death. The same concept is taught in John 5 v 25 : “…an hour is coming, AND IS NOW HERE, when the dead will hear the voice of the Son of God, and THOSE WHO HEAR will live ( be made spiritually alive). This is contrasted with the physical resurrection described in 5:28 where all mankind will come forth at His command to be judged.