I can address the SSDI part (what a team we make )

Resigning or being fired doesn't matter at all unless there was criminal (of the felony type) activity involved. All that matters is that you're disabled enough to be considered unable to work.