If you're 10+ hours away clocking in for 2 minutes isn't possible.
If you're ever in this situation, look up constructive dismissal. Basically its better to stay home and be "fired" and refuse the voluntarily resignation. That being said, the USA has a lot less protections for employees then Canada or Europe but it's good to be informed anyway.