We use this expression to say that the speaker has no reason to criticise someone or something because they are also bad.
Miguel is always late.
You can talk! You arrived at 11.30 today!
You're so lazy.
You can talk! You never do any work at home.