#2 - March 21, 2012, 2:28 a.m.
Battle.net will detect your IP address if you use an authenticator. If you log in from the same IP address consistently, it will not prompt you for an authenticator code. However, if you switch computers or log in from another IP, it will ask for your code.
This functionality is also in WoW and SC2.