Hi,
The period of absence you refer to relates to the occupation of a new home when you are unable to sell your old home. If however you have claimed private residence relief in this 24 month period for property A, you cannot then claim private residence relief for the same period for property B.
If you live in, as your home, 2 or more houses, you can only have one main residence at a time for Private Residence Relief within:
HS283 Private Residence Relief (2023)
Thank you.