Welcome to Android Central! Do you mean if you're not logged into WhatsApp, or if you're not connected to the network? Either way, I'm not sure how you could expect to receive notifications for new messages. If you're not logged into WhatsApp, the phone won't know if you get new messages. If you're not connected to a network, there's no way for the phone to update any kind of data.