The verification code can be generated by the Google Authenticator app on your phone, even if you don't have a network or cellular connection. This means that in addition to your password, you'll also need to enter a code that is generated by the Google Authenticator app on your phone.
Google Authenticator adds an extra layer of security to your online accounts by adding a second step of verification when you sign in.