After you file

It's just a statement and it needs to be attached to the return or to a request for an extension to file the return.

 

See https://www.thetaxadviser.com/issues/2010/feb/sec475mark-to-marketelection.html