No, it is not necessary. The arcs above XY must have the same radius as each other, and the arcs below XY must have the same radius as each other, but the radius used above can be different from the radius used below.
Construction:
(i) Draw a line segment XY = 6 cm.
(ii) With centres X and Y and the same radius 4 cm, draw two arcs above XY. Mark the point where they meet as A.
(iii) With centres X and Y and a different radius, 5 cm, draw two arcs below XY. Mark the point where they meet as B.
(iv) Join AB. Let AB cut XY at O.

On measuring, OX = OY = 3 cm and ∠AOX=90°. So AB is still the perpendicular bisector of XY.
Justification:
AX = AY = 4 cm, so A is at the same distance from X and Y. By Hint 1, A lies on the perpendicular bisector of XY.
BX = BY = 5 cm, so B is also at the same distance from X and Y. So B also lies on the perpendicular bisector of XY.
By Hint 2, the two points A and B fix the whole line. So the line AB is the perpendicular bisector of XY.
We can also check this with congruence. In △AXB and △AYB: AX = AY, BX = BY and AB is common, so the triangles are congruent (SSS). Hence ∠XAO=∠YAO. Then in △AOX and △AOY: AX = AY, ∠XAO=∠YAO and AO is common, so the triangles are congruent (SAS). Hence OX = OY and ∠AOX=∠AOY. These two angles form a straight angle, so each is 180°÷2=90°.
So the radius below XY need not be equal to the radius above XY. What matters is that each pair of arcs is drawn with one radius, and that the radius is more than half of XY so that the arcs meet.