Yes, the spring stretches as soon as the object is hung from it, and it stays stretched as long as the object hangs there.
The spring is being pulled down at its lower end. Nothing is touching the object except the spring, so the downward pull on it comes from the Earth — the gravitational force, that is, the object's weight. The stretch of the spring is simply the visible effect of that pull.