The general rule is don't eat anything within 3 hours before you go to sleep. Digestion interferes with deep sleep and sleep interferes with digestion.
You can't fall into stage 4 sleep, (deep sleep, the most restful stage) which happens during the first half of the night, if your stomach is still digesting.
Do you have any references for this? I've never heard that before.