This is a pun on the phrase 'lying in bed' which typically means one who is laying down in their bed, but it also works here because 'lying' also means when you tell a falsehood
If you tell a falsehood just after waking up you are lying in bed .