In California, they're legal to buy without a prescription, but not everywhere will sell them to you. There are however enough places that it's not too difficult to find one that will. As far as getting caught with a used one with residue in it, maybe if you were honest about what it actually was and the cop believed it was gear and not dope, they might let it slide. Hell... there's plenty of cops that run gear.