No, the folder structure and metadata remain as it is during and after the IMAP mailbox backup. You will have the IMAP data in a PST file exactly as it was in the IMAP Server.