Hi, I am Van. I'll be glad to assist you today.
You will not lose your files stored in One Drive after resetting your device. Just make sure it is properly synced.
However, I always recommend making a backup of files to your other drives or external drives in case something goes wrong.
Please let me know if you need any further assistance. I will be glad to assist.