It is for residents, the citizenship is not really relevant. That said no one will check anything, you just sign up and show up with the QR/confirmation code and get tested. An Indian colleague got the (free) test ahead of his travel to use for entry in India. No one said anything.