Yes, the longitude of the spacecraft will vary during flight, but since the longitude of the launch point and the target orbit are fixed relative to each other it doesn't matter when you launch. (Except, as pointed out, for sunlight, thermal, or range availability reasons.)