As long as your apartment door number is on the package address the UPS driver will deliver the package to your apartment door.
The UPS driver will usually knock to see if you're there to hand your package to you but if not they'll usually leave the package at the door of the apartment.
If you specified to leave the UPS package at the apartment office then the package will be delivered there instead.
But UPS drivers will go up to each individual apartment door and attempt to deliver the package there so if you're expecting a package and live in an apartment then the package will usually be at your apartment door.