Thank you for choosing TurboTax.
If you both contributed amounts to the investment then you can each claim the amount shown on the T5. If the T5 is held jointly then TurboTax software will choose the best option for you.
For more information please see our TurboTax articles: T5 Tax Form: Statement of Investment Income in Canada.
Can I Split My Capital Gain With My Spouse?