The partition recovery application will try to restore the partition exactly as it was, however, it's not recommended to use the same location to replace the files. No, the recover won't work and it will actually fail. Once you start a recovery process, in no way the destination should be the original place of the files because:
It's not possible.
The contents you are trying to restore will be lost for good.
For all the recovery operations, always use another location.