I've definitely interviewed green candidates and would be very happy to interview them again in a few years. (This is going to be more true in companies with more selective hiring bars)
Regardless, brand matters as well. You want candidates to have good experiences even if they are rejected as they will talk to peers about company x
Regardless, brand matters as well. You want candidates to have good experiences even if they are rejected as they will talk to peers about company x