Hi
There is no capital gains tax liability on the transfer of assets between spouses and civil partners, from 6 April 2023 separating spouses or civil partners are given up to three years after the year they cease to live together in which to make no gain or no loss transfers.
This means your wife will acquire the property at the 2004 value.
If she then disposes of the property, she will be able to claim private residence relief for the period in which the property was her main residence. any remaining gain will be chargeable to capital gains tax.
Have a look at the guidance on private residence relief at
HS283 Private Residence Relief (2024) Updated 6 April 2024
Thank you.