Just because the brain doesn't form memories while you sleep, doesn't mean you have ceased to exist. You have probably forgot many things that have happened to you today: does that mean you didn't exist in those moments you forgot? Am I misunderstanding your point?