In GPL, it has to be valid for 3 years, but only if they're not the copyright holder.
In MIT, a.k.a. "the fuck you license" there is no requirement and they don't even have to give you source code at all.