Revealing the spiral arms through radial migration and the shape of the metallicity distribution function