The 12 months of work experience specific to the role of scrum master or product owner can be met at any time once you've attended an A-CSM℠ or A-CSPO℠ course. Please note that the work experience must be within the past five years of today's date.
Please ensure your work experience is entered on your Scrum Alliance® account in order for it to be validated. Once you've reached at least 12 months of counted work experience, you will receive a notification email from Scrum Alliance once it has been validated, and you will be able to claim your advanced certification.
To learn how to enter work experience on your account, please see this article: How do I add work experience for my advanced or CSP-level certification?