You should set the "Incoming Archive Folders" variables. For example by putting the following
inbox your_archive inbox your_archive
the inboxes of your first and the second emails archived in the folder "your_archive" or every other folder you like. You should properly put the paths of your folders depending on your email account.
Also please read the Alpine help of "Incoming Archive Folders".