The statement from your book is correct, but there are some things going on behind the scenes that might help you understand why it is correct:
First, energy is a state function .. that means that it is path independent, so it doesn't matter how a system evolved prior to the instant when you calculate the energy; if you know the instantaneous configuration of the system (kinetic and potential energies of all the particles), then you can calculate the energy. This is what Mapes was getting at. So at any point in time, the total energy of the liquid-gas system in your example is equal to the sum of the energies of the liquid and gas calculated independently.
However, this doesn't mean that there are no interactions between the liquid and gas that need to be taken into account. Suppose for example that the nominal composition of your liquid-gas system is CO2 over pure water in a closed vessel. If you calculated the total energy of the system based on the assumption that the CO2 and water were pure substances, then you would get the wrong answer. This is of course because some of the CO2 dissolves in the water, and some of the water evaporates into the gas phase. If you correct for those effects, then the total energy that you calculate will be lower than for the two-component system consisting of the pure substances.
Does that help?