Name on son’s title that I co-sign

From a tax perspective, is it a good idea for me, as a co-signer for a home mortgage for my son, to be on the title for his home? How is that dealt with at tax time? I will not be living in his home. Thanks!