Typically in those cases, you plug in at work, assuming they offer it.
Alternatively, you might be able to get away with a simple level 1 charger if your apartment has a standard outlet available.
You can talk to your landlord about making changes, but failing that, you probably want a hybrid instead of an EV. Electricity at ‘the pump’, so to speak, can be more expensive than gas and certainly takes longer.