If you are not charging rent to someone else to stay in that home, you should be able to list is as a vacation/second home.
There are specific guidelines for vacation/second homes, and if both properties are near each other, simply having one closer to work would not qualify the other as a vacation or second home. I’m not quite clear if you’re using the same lender for the second transaction as the first, and if so they might have concerns over potential investor repercussions if you move out of the first home within a year, but given your length of residency at the first home, don’t see why you can’t purchase the new home as owner occupied PROVIDED you can show an underwriter you intend to occupy it. Usually a lease on the existing home (along with deposit check) is a plus. You likely will need to qualify with both payments, so bear that in mind as well.