Arcana Coelestia #861
861. Verse 6 And it happened at the end of forty days that Noah opened the window of the ark which he had made. 'It happened at the end of forty days means the duration of the former state, and the beginning of the one that followed. 'Noah opened the window of the ark which he had made' means a further state when the truths of faith appeared to him.
Resurrection, the first
'The first resurrection,' mentioned in Revelation 20:5, 6, does not mean a first resurrection, but the essence and primary part of resurrection, which is salvation and eternal life. There is only one resurrection to life. A second does not happen, and is not mentioned anywhere in the Bible.
(Referencat: Apocalypse Explained 6; Apocalypse Revealed 851; Revelation 20:5-6)