Police have arrested 21 Bangladeshi nationals for allegedly illegally residing in Ranjangaon area, according to Pune police officials.