That’s often not your choice, your employer needs to give you the time and in some cases permission to do it.
Then that’s a company with some pretty serious problems, and it’s going to show in all of their products. If you as a developer decides to stay in that company then that will also reflect on you.
I'm just telling you how perception by association works. Your choices are entirely your own.
For that to work, the people you go to interview with have to have some idea of what your previous company is like, which is very unlikely.
Also, "I had bills to pay" should erase 99% of your "perception by association" concerns. And guess what? You can't verify that. And if you do try to verify that, you're the problem.