May I leave my apartment empty as a tenant or landlord?

In many larger German cities apartments are empty. In the evening the lights stay off, there is no name on the bell or it does not seem to be there regularly despite the full letterbox.