In short, yes.
You receive 1 EQS per segment, defined as a a single flight number between two cities. (So-called "direct" flights that include a stop count as a single segment despite the stop, but in your case the two flights have different flight numbers, hence would count as separate segments.)