when i open a microsatation file from (example D01 folder ) and when i open second file in another tab from (D02 folder)

when i open a microsatation file  from (example D01  folder  )  and when i open second file in another tab from (D02 folder)  and when i close file opened from D01 it taking me D02 folder. why cannot it maintain different location for different tab

 please can someone help me with this settings any answer to my question would be appreciated thanks

what is setting i want to maintain same folder location for a file whenever i close file by ctrl+w