RNRB on partial Ownership

If main residence is part owned by spouses whilst a share 50% has been gifted away during lifetime to child sharing expenses. Can they claim RNRB on share passes to children in proportion to what remains.