Very good question. I would assume there is an engagement letter that outlines the terms of engagement. Many estate administration lawyers do not do the 1041s, but some do. Personally I believe executors are better served using a CPA with experience with 1041s because of the particular expertise involved and it is more cost effective (attorney hourly rates are usually more than CPAs).
This is not legal advice nor intended to create an attorney-client relationship. The information provided here is informational in nature only. This attorney may not be licensed in the jurisdiction which you have a question about so the answer could be only general in nature. Visit Steve Zelinger's website: http://www.stevenzelinger.com/
Most estate attorneys do not do the tax returns and will point you in the direction of an accountant to handle for the estate. It is not just the federal estate tax return you need to take care of, as there is a Maryland Estate Tax return that need to be done as well and the Maryland Estate tax kicks in at a lower level than the federal estate taxes. Note that 'estate taxes' are different from inheritance taxes. Inheritance taxes are on the probate estate (if they apply) while estate taxes are on the gross taxable estate.
Some will and some won't. It is important for the attorney to set forth at the outset of representation just what services will be performed and what services will not. In my practice, I don't prepare income tax forms, but, in most circumstances, I have prepared estate tax returns as part of representing the estate. I am not aware of any "requirements" other than disclosure of the services offered.
Even if the attorney does not prepare the returns themselves, the attorney should assist the personal representative or trustee to gather the proper documentation to allow the accountant to prepare any required returns.
Any answer provided in this forum is not offered as legal advice upon which you can rely without further discussion of the facts and circumstances of the particular situation. Sometimes things you may think are unimportant (and you don't disclose them in your posting) may make a big difference in correctly analyzing the issue. There is no substitution for a one-on-one consultation with an attorney, and you should not take this answer as such.
As others have explained, some estate planning attorneys will help prepare these forms, and others won't. Generally, I prefer to refer the personal representative to a qualified CPA or tax attorney for assistance with this. Depending on the size of the estate, you may not need to file any estate tax returns (Maryland or Federal). Keep in mind that certain life insurance proceeds may be part of the estate (a common misconception) and can often push an otherwise small estate over the threshold that requires estate taxes to be paid. Good luck to you.