We've done this. We each own 50% of the house. If either of us dies, their share goes to our daughters equally, with the proviso that the remaining spouse has the right to live in the house until death. When the remaining spouse dies, their 50% also goes to our daughters.
It was all explained very carefully by our solicitor. If a surviving spouse decides to downsize, technically our daughters would be entitled to 50% of any profit on the transaction but again we have an agreement through the solicitor that this will only happen with consent.
We did it to protect our children's inheritance in case either of us remarried when one of us died, so that they would at least get 50% of the value of any property even if the surviving spouse changed their will on remarriage. This is getting less and less likely as we age, but you never know!
I'm sure "Germanshepherdsmum" will know all the ins and outs of this and can give good advice.