It's hard to say- you sometimes become lucid when waking up, so it's not unheard of to have dual awareness at that time- and then you wake up.