The illegal migrants coming to the US know they have to work if they wish to eat. Meanwhile, coming to Sweden has been just a ticket to easy life, where you get free housing and money, but will be probably excluded from the job market unless you learn the language and get several years of education.
So, in practice the two phenomena are very different.