Residual Value

If planning to return the vehicle at the end of a lease does the residual value actually matter?

Thanks