You 'need' to do it when it makes the integral simpler! Typically, that means that you use cylindrical coordinates when there is some kind of circular symmetry you can take advantage of and spherical coordinates when there is some kind of spherical symmetry.