If the jars are properly heat-processed, both homemade and commercially sealed pickles can sit unopened at room temperature and still be ideal to up to a year.
Anything that is not heat-processed for the sealing of the jars will not last unless it's refrigerated, and even then you have four weeks at best with them.