Revelation 20 describes only the judgment of the wicked, which takes place before the resurrection of the wicked (the second resurrection).
20 Umuna, no ti maysa ket estoriaenna ti ar-aramiden dagiti demonio, itantandudona dagiti interes ni Satanas.