Though they don't, in my experience, ask for any indication that this comes from a prescription, that it's up to date, etc. You're free to use numbers from an ancient prescription, just guess at your refraction, whatever.
Some other online glasses sales places will make you show them a sufficiently-recent prescription.