Can my Adsense code work in a .tpl (templete) file?

Thanks