Alabama's immigration law is unconstitutional and aims to threaten "the most basic human needs," the U.S. Department of Justice said in a court filing.