Well to answer something like this well i think we gotta go to the source dont we..Lets see what we got...
"And i saw the dead,small & great stand before God,and the books were opened,and another was open,which is the book of life and the dead were judged out of those things,which were written in the books,according to their works,And the sea gave up the dead which were in it,and death and hell delivered up the dead which were in them,and they were judged according to their works,And death and hell were cast into hell into the lake of fire,This is the second death,And whosoever was not found written in the book of life were cast into the lake of fire" Revelations 20:12-15
"Blessed are they that do thy commandments,that they may have a right to the tree of life,and may enter in through the gates into the city" Revelation 22:14