Correction: Sacramento is in California; Denver is in Colorado. You will fly over other states.
Typical eastbound route from Sacramento (SMF) to Denver (DEN) crosses:
The original answer incorrectly stated both cities are in California. Denver is Colorado's capital.