If the medical is still valid at the time of PR submission, you can submit it. However, depending on when the PR application is reviewed, close to or after the medical has expired they may request a new medical. It is all up to the Agent looking at your file.