When filing state and federal, will I get two deposits or do I have to wait until both are accepted?

Since the state is still processing, i’m not sure if I will receive my federal first since it’s been accepted already.