The Eternal Book of Life

In Luke 10:20 we read “However, do not rejoice that the spirits submit to you, but rejoice that your names are written in heaven”. Here Christ is speaking of the book of life. What is this book of life and what is its significance? How do we get our name in it and how do we keep it there? If our name can be removed, how might this happen?