Reasons for living in urban settings rather than in refugee camps could be specific medical care needs that can't be provided for in camps, or higher than average educational achievements and aspirations, as camps don't provide much higher education opportunities.
A disadvantage is that the UNHCR and other aid agencies cannot legally protect and support refugees dispersed in urban settings as much as in camps.