Not necessarily.  The Miranda rights or Miranda warnings, commonly referred to as your right to remain silent, protect you from making any statements that the prosecutor will use against you at trial.  If the prosecution or police are not seeking to question you or to use your statements against you, they are not required to provide the Miranda warnings.  Law enforcement is required to give Miranda warnings when you are a suspect in police custody during a custodial interrogation.