The worms will not stay away forever and can return. Your safest bet is to make sure they do not eat other animals' feces (which is kind of obvious hehe) and also to keep them flea-free!! If you can do that then they should be fine!