Android can do this - the linux kernel goes into suspend-to-ram while the network is still up. If someone sends you a tweet, the cloud messaging service wakes the OS with a TCP packet, which eventually causes the "ding" notification that Musk has said something again...