Joint tenancy has Right of Survivorship. So if you pass away, the house goes to your friend automatically.
Tenancy in Common is better option for holding property as friends.