Book of Life references

Old Testament
Daniel 12:1At that time Michael shall stand up, The great prince who stands watch over the sons of your people; And there shall be a time of trouble, Such as never was since there was a nation, Even to that time. And at that time your people shall be delivered, Every one who is found written in the book." BibleRef. This passage clearly talks about the Jews who as a nation receive Christ as their Messiah and are alltogether written in the book, probably the Book of Life.
New Testament
1) Philippians 4:3 And I urge you also, true companion, help these women who labored with me in the gospel, with Clement also, and the rest of my fellow workers, whose names are in the Book of Life. BibleRef. This verse tells the fellow workers in the church of Philippi, that their names are written in the Book of Life.
2) Revelation 3:5 He who overcomes shall be clothed in white garments, and I will not blot out his name from the Book of Life; but I will confess his name before My Father and before His angels. BibleRef. This verse talks about the dead church of Sardis. Although they are spiritually dead, they once received Jesus. On the basis of that conversion their will never be blotted out from the Book of Life.
3) Revelation 13:8 All who dwell on the earth will worship him, whose names have not been written in the Book of Life of the Lamb slain from the foundation of the world. BibleRef. This verse talks about false worship in the Tribulation period. Therefore their names are not written in Jesus' Book of Life and their fate will be destruction.
4) Revelation 17:8 The beast that you saw was, and is not, and will ascend out of the bottomless pit and go to perdition. And those who dwell on the earth will marvel, whose names are not written in the Book of Life from the foundation of the world, when they see the beast that was, and is not, and yet is. BibleRef. This verse talks about the prophesied events about Satan at the end of the Millennium. Of course all those who follow Satan are never in the Book of Life.
5) Revelation 20:12 And I saw the dead, small and great, standing before God, and books were opened. And another book was opened, which is the Book of Life. And the dead were judged according to their works, by the things which were written in the books. BibleRef. These verses talk about the judgment of all unbelievers of all times. They will be resurrected at the Great White Throne Judgment and be thrown into the Lake of Fire for ever. The judgment of them is based on the absence of their names in the Book of Life and based on their works, written in "books".
6) Revelation 20:15 And anyone not found written in the Book of Life was cast into the lake of fire. BibleRef. In this verse we see the execution of the unbelievers. Notice that Jesus does not check anything about names of believers. Their destiny was already secured at the point of their salvation.
7) Revelation 21:27 But there shall by no means enter it anything that defiles, or causes an abomination or a lie, but only those who are written in the Lamb’s Book of Life. BibleRef. This verse talks about the entrance of all believers, who of course all are in the Lamb's Book of Life since their salvation, into the New Jerusalem. We don't see any judgment of believers at this point.