Can the Nuki Keypad be used as a Fob?

Like if it goes out of range, and then comes back into range, will it work?

Yes. But you can have only one Keypad per lock and only one lock per Keypad. A single fob can control several locks and a lock can be controlled by several fobs.