Is there a maximum duration for internships in the US?

Is there a maximum duration for internships in the US?