If you mean you're going to take off, fly 100nm, do a touch and go exactly at evening civil twilight, and fly back all in two hours - No, that wouldn't count. Each of the flights specifically says "One 2-hour cross country flight... in (daytime/nighttime) conditions". So the whole two hours for each needs to be in day, or in night.
Now, if you fly for two hours, land before evening civil twilight, then turn around and fly two hours back beginning after evening civil twilight, then yes you can do that as each flight is two hours.