You can say '...you will be there?' But not 'How long you were sleeping?'
Wow, that's interesting.
I think you didn't mean the original sentence of the TS, did you?
My guess is that we can use this sequence only in a subordinate clause:
Can you tell me when you will be there?

-Right?