i once took a cat that lived outside for years, put it in the house with a litter box, and once you show them where it's at, she knew how to use it from day 1. Leaving for a long weekend? No worry, leave out some extra food and water.
They will claw the crap out of your furniture/carpet tho.