To be precise in answering your question, you need to wait until you have an order in hand from the court finalizing your marital dissolution action and changing your last name. Once you receive such in hand, then you can submit your application to change your surname on your social security card and state driver's license.