Zig zagging

So I still have 5600 calories for the week, can I eat 5000 calories tomorrow and not gain? That can't be right