This is a tricky question because wood in general is absorbent. Two things help wood become more water-resistant:
The stain or paint with which you treat the shingles
The way the shingles are installed in an overlapping fashion with venting behind them to help dry them out quicker.