Yes - the EQ and other DSP effects such as crossfeed and replaygain are implemented in software, so apply to both the headphone and line-out.
In fact, even hardware effects such as bass/treble are applied to all outputs... The only one that isn't is volume - volume is fixed at 0dB for line-out (by definition).