Where is the scripture about using pencil?
I don't know if this is what you're thinking of, but there is a JW illustration along those lines. (i.e. By being faithful, your name is "penciled" in today.)
Since JW's don't believe the "book of life" is actually opened until the end of the 1000 years, it's not entirely in line with what they themselves teach.