You are correct to be asking the question. What if somebody gets divorced? What if someone decides to sell their share? What is the purpose of the purchase? What if one party decides not to pay their share of the expenses?
Not only do you need a deed but you probably need a contract or you may want to put the property in an LLC.