Do I need to have bank accounts in Yes Bank, ICICI Bank, or Axis Bank to use their UPI IDs?

No, you do not need to have bank accounts in any of these banks to use their UPI IDs. The bank account that you’ve added on PhonePe can be linked to these UPI IDs irrespective of the bank.