Father detained for weeks after living in U.S. for 18 years