Manipulation of the atomic localization via resonance fluorescence