it really depends on the variety. some can stay on the vine for a long time after they're ripe (how long they can stay on is known as hang-time), and some have to be picked as soon as they're ripe.