More information would be useful in attempting to properly respond to your question.
Have you sought workers compensation? Were you injured on the job? In what state do you live? What's the nature of your injury?
Is your employer intending to hold your position?
You ask if you have any means of being compensated. To be compensated means to be reimbursed something you're owed. Do you feel that you're owed the two months pay by someone, or that someone is obligated to pay you? If so, whom?
Are you asking if your employer should be responsible to pay you, even if you're not available for work?
More details will be helpful.