Canada and most US states (mostly for boaters born after a certain date in the US but varies by state) require some very basic boating education that can be met by an on-line class, courses such as those offered by the US Power Squadrons, or courses offered by various states. Usually these can be completed in a day or less and do not involve on-the-water training and are not specific to sailing. The state courses may be free.
But, they're still a good introduction to skipper responsibilities, basic boat vocabulary, equipment and legal requirements, basics of navigation, buoys and lights
, and responses to emergencies.