IRA contributions

For 2024, I withdrew money from my traditional IRA and did not redeposit it within 60 days. Can I still contribute to my Traditional or Roth IRAs in the same year without having earned income?