300 DPI in Graphic Template - how?

I set DPI 300 but I didn’t check “Resample” for PSD. Possible, that was my mistake.
But what do with AI file?