In what coordinate system are you asking the question? The normal way to analyze the situation in SR would be to take an inertial frame and analyze both paths from the perspective of that frame, in which case each clock's time dilation will just be a function of velocity in that frame, not acceleration. On the other hand, if you want to analyze things from the perspective of a non-inertial coordinate system where each twin is at rest throughout the entire trip (both before and after accelerating), it depends on the details of how you construct this non-inertial coordinate system (how you define simultaneity at different points in the trip, for example), there isn't really a single set way to do it. I suppose the most natural way would be to construct your non-inertial coordinate system so that its definition of simultaneity and distance at each moment always matches the definitions of the instantaneous inertial rest frame of the ship at that moment, and such that the time coordinate of events along the ship's worldline always matches the proper time of the ship (time according to the ship's own clock). If you do it this way, then in each ship's non-inertial coordinate system the second ship's clock will be running slow during the non-accelerating portions of the first ship's worldline, but will run fast--possibly extraordinarily fast, depending on how quick the acceleration is--during the accelerating portions. If you construct each ship's non-inertial coordinate system in the way I describe above then yes, though like I said you have no obligation to construct the coordinate system this way. Why shouldn't they? In the first ship's own non-inertial coordinate system the second ship's clock will advance forward by some large amount during the period where the first ship is accelerating, and in the second ship's non-inertial coordinate system the first ship's clock will advance forward by exactly the same amount during the period where the second ship is accelerating. Using the type of coordinate system I describe above, it would have to do with the fact that even though the accelerations are equal on different trips, if the inertial phases of the trips were different lengths than the
distance to the second ship during the period when the first ship accelerates will be different on different trips (and vice versa), and the amount that the second ship's clock jumps forward in the first ship's non-inertial coordinate system is a function of distance, a bigger move forward at greater distances. You might get some idea of why this is the case if you look at
this image from the
too many explanations section of this
twin paradox FAQ--the blue lines correspond to the non-inertial coordinate system's definition of simultaneity at different points on the ship's worldline, if you look at the region bounded by the lines from the beginning and end of the acceleration period you can see it's sort of wedge-shaped, so the farther a second worldline is from the first the larger the section of it that will be inside this wedge.