It's also known as Pascal's Wager and is about 400 years old.

http://en.wikipedia.org/wiki/Pascal's_Wager