Assuming that the earth is round, AB at the same latitude means that it is on the same plane as the center of the earth O, and OA=OB. According to longitude analysis, OAB is an isosceles right triangle, where ∠ AOB = 90 and OA=OB=R, then the distance between AB is equal to ∠ 2r.
For your reference