No. It is not for your employer to determine whether you can work or not. An employer cannot require you to do something that is contrary to the opinion of your doctor. Regardless of the amount of time your doctor prescribes, your employer must give you that time off. Furthermore, your employer cannot engage in recourse by threatening you for taking time off, disciplining you for your medical leave, or treating your medical leave as a resignation.
For further details to determine entitlement in your specific case contact a reliable and well-informed employment lawyer. If you believe your employer has made a reprisal against you for not returning to work and are seeking legal advice for recourse, please contact Toronto employment lawyers, Sultan Lawyers at 416-214-5111 or via email to firstname.lastname@example.org.