Is a glass of orange juice ok before bed?

i am dieting, and i don’t eat during the three hours before bed, but is a glass of orange juice during that time defeating the purpose?