Change slug before publish

I’d like to be able to set custom links for posts too before I publish them. Is there a way to edit post URLs before they're published?