Ash trees are hardwoods. Hardwoods don't have the aromatic compounds that cause problems as do pines and cedars. The branch will be fine for (and probably much appreciated by) your snake. Scrub it up with soap and water, rinse well, and put it in the oven for up to an hour at 200 F. That will kill any creepy crawlies that may be inside the wood.